package com.shou.types.exception;

import com.shou.types.common.ReturnCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * ClassName:SystemException
 * Project:SmartPark
 * Package: com.shou.types.exception
 * Description
 *
 * @Author Nemo
 * @Create 2025/2/21 22:19
 * @Version 1.0
 */
public class SystemException extends BaseException {
    @Getter
    @AllArgsConstructor
    public enum ErrorCodeEnum {
        JDBC_THREAD_POOL_EXECUTE_FAILED("C-SER-01-01", "线程池任务执行失败");
        private final String errorCode;
        private final String message;
    }
    public SystemException(String errorCode, String message, ReturnCodeEnum httpStatus) {
        super(errorCode, message, httpStatus);
    }
}
